package com.xinsilu.hospital.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author ym
 * @since 2021-09-22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("Registration_table")
@ApiModel(value="RegistrationTable对象", description="")
public class RegistrationTable implements Serializable {

    private static final long serialVersionUID = 1L;



    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "id（身份证）")
    private String card;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "科室")
    private String departmentname;

    @ApiModelProperty(value = "医生id")
    private String doctorname;

    @ApiModelProperty(value = "日期")
    private String date;

    @ApiModelProperty(value = "费用（根据医生门诊费用查询）")
    private String cost;

    @ApiModelProperty(value = "院区id")
    @TableField("information_id")
    private Integer informationId;

    @ApiModelProperty(value = "关系")
    private String relationship;

    @ApiModelProperty(value = "手机号")
    @TableField("Telephone")
    private String Telephone;

    @ApiModelProperty(value = "取号状态")
    private Integer state;

    @ApiModelProperty(value = "挂号类型")
    private String type;


    @TableField(exist = false)
    UserTable userTable;

    @ApiModelProperty(value = "时段")
    private String shiduan;
    @ApiModelProperty(value = "openid")
    private  String openid;


}
